Skip to content

Release 4.1.0#52

Merged
renecannao merged 1 commit intomasterfrom
release-4.1.0
Mar 24, 2026
Merged

Release 4.1.0#52
renecannao merged 1 commit intomasterfrom
release-4.1.0

Conversation

@renecannao
Copy link
Copy Markdown

@renecannao renecannao commented Mar 24, 2026

Release 4.1.0

Bump RELEASE_VERSION from 4.0.0 to 4.1.0.

What's new since 4.0.0

ProxySQL Integration

  • Built-in pre/post failover hooks that update ProxySQL hostgroups via Admin API
  • ProxySQL topology query API (/api/proxysql/servers)
  • CLI commands: proxysql-test, proxysql-servers
  • Bug fix: interpolateParams=true for ProxySQL Admin protocol compatibility

Observability

  • Prometheus metrics endpoint (/metrics) with 6 orchestrator-specific metrics
  • Kubernetes health endpoints: /health/live, /health/ready, /health/leader

API Modernization

  • Replaced go-martini with chi router (100+ routes migrated)
  • New /api/v2/ endpoints with structured JSON responses and proper HTTP status codes

Architecture

  • Database provider abstraction layer (MySQL provider, foundation for PostgreSQL)

Testing & CI

  • Functional test suite: 61 automated tests against real MySQL topology + ProxySQL
  • Docker Compose test infrastructure with MySQL 8.4 + ProxySQL
  • Real failover testing (graceful takeover + hard failover) in CI
  • Fixed CI: gofmt, go vet, golangci-lint v2, updated build scripts for Go modules

Test plan

  • All CI workflows pass
  • 61 functional tests pass in CI
  • Manually validated against real MySQL 8.4 + ProxySQL

Summary by CodeRabbit

  • Chores
    • Release version updated to 4.1.0.

Copilot AI review requested due to automatic review settings March 24, 2026 11:47
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request marks the release of version 4.1.0, bringing a substantial set of new features and improvements. Key areas of enhancement include deeper integration with ProxySQL, expanded observability capabilities, modernization of the API, and significant architectural advancements. The release also benefits from a more robust testing and continuous integration pipeline, ensuring greater stability and reliability.

Highlights

  • ProxySQL Integration: Introduced built-in pre/post failover hooks for updating ProxySQL hostgroups via Admin API, added a ProxySQL topology query API, and new CLI commands (proxysql-test, proxysql-servers). A bug fix for interpolateParams=true was also included for ProxySQL Admin protocol compatibility.
  • Observability: Added a Prometheus metrics endpoint (/metrics) exposing 6 orchestrator-specific metrics and Kubernetes health endpoints (/health/live, /health/ready, /health/leader).
  • API Modernization: Replaced go-martini with the chi router, migrating over 100 routes, and introduced new /api/v2/ endpoints with structured JSON responses and proper HTTP status codes.
  • Architecture: Implemented a database provider abstraction layer, starting with a MySQL provider and laying the foundation for PostgreSQL support.
  • Testing & CI: Developed a functional test suite with 61 automated tests against real MySQL topology + ProxySQL, established Docker Compose test infrastructure with MySQL 8.4 + ProxySQL, and integrated real failover testing (graceful takeover + hard failover) into CI. CI was also fixed to include gofmt, go vet, golangci-lint v2, and updated build scripts for Go modules.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 24, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2e77f35e-48d1-4c17-b9e0-4b6a822aad49

📥 Commits

Reviewing files that changed from the base of the PR and between 1750dbf and ead5459.

📒 Files selected for processing (1)
  • RELEASE_VERSION

📝 Walkthrough

Walkthrough

The project's release version constant was incremented from 4.0.0 to 4.1.0 in the RELEASE_VERSION file, reflecting a minor version update to the software.

Changes

Cohort / File(s) Summary
Version Update
RELEASE_VERSION
Updated release version constant from 4.0.0 to 4.1.0

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Poem

🐰 A hop, a skip, a version bump so small,
From four point oh to four point one for all,
The release marches forward, steady and bright,
CodeRabbit hops onward through the night! 🌙

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release-4.1.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@renecannao renecannao merged commit 5740466 into master Mar 24, 2026
8 of 10 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the project’s release version marker to 4.1.0 to match the “Release 4.1.0” release cut described in the PR.

Changes:

  • Update RELEASE_VERSION from 4.0.0 to 4.1.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request updates the RELEASE_VERSION file from 4.0.0 to 4.1.0. This version bump aligns with the significant new features and architectural changes detailed in the pull request description, such as ProxySQL integration, observability enhancements, API modernization, and a new database provider abstraction layer. The change itself is a straightforward version string update.

@coderabbitai coderabbitai bot mentioned this pull request Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants